package com.ruoyi.tianliangedu.mapper;

import com.ruoyi.tianliangedu.domain.TianliangFatherSection;

import java.util.List;

/**
 * 父类章节Mapper接口
 *
 * @author lsj
 * @date 2021-07-12
 */
public interface TianliangFatherSectionMapper {
    /**
     * 查询父类章节
     *
     * @param fatherSectionId 父类章节ID
     * @return 父类章节
     */
    public TianliangFatherSection selectTianliangFatherSectionById(Long fatherSectionId);

    /**
     * 查询父类章节列表
     *
     * @param tianliangFatherSection 父类章节
     * @return 父类章节集合
     */
    public List<TianliangFatherSection> selectTianliangFatherSectionList(TianliangFatherSection tianliangFatherSection);

    /**
     * 新增父类章节
     *
     * @param tianliangFatherSection 父类章节
     * @return 结果
     */
    public int insertTianliangFatherSection(TianliangFatherSection tianliangFatherSection);

    /**
     * 修改父类章节
     *
     * @param tianliangFatherSection 父类章节
     * @return 结果
     */
    public int updateTianliangFatherSection(TianliangFatherSection tianliangFatherSection);

    /**
     * 删除父类章节
     *
     * @param fatherSectionId 父类章节ID
     * @return 结果
     */
    public int deleteTianliangFatherSectionById(Long fatherSectionId);

    /**
     * 批量删除父类章节
     *
     * @param fatherSectionIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTianliangFatherSectionByIds(String[] fatherSectionIds);
}
